package xin.printk.android.module.setting;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.widget.Toolbar;

import xin.printk.android.BasicActivity;
import xin.printk.android.R;

public class SettingActivity extends BasicActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_setting);
        Toolbar toolbar = findViewById(R.id.setting_toolbar);
        setToolbar(toolbar);
        setCanFinish(true);
        getFragmentManager().beginTransaction()
                .add(R.id.setting_content, new SettingFragment(), "SettingFragment")
                .commit();
    }
}
